package com.atguigu.tingshu.order.service;

import com.atguigu.tingshu.model.order.OrderInfo;
import com.atguigu.tingshu.vo.order.OrderInfoVo;
import com.atguigu.tingshu.vo.order.TradeVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface OrderInfoService extends IService<OrderInfo> {


    OrderInfoVo trade(TradeVo tradeVo);

    String submitOrder(OrderInfoVo orderInfoVo);

    void canalOrder(String orderNo);

    public abstract void orderPaySuccess(String orderNo) ;

    public abstract OrderInfo getOrderInfo(String orderNo);

    IPage<OrderInfo> findUserPage(Integer pageNo, Integer pageSize);
}
